﻿using UComment.Interfaces;

namespace UComment.Spam
{
    public abstract class SpamChecker: ISpamChecker
    {
        #region ISpamChecker Members

        
        public string ProviderName { get; set; }

        public virtual bool Check(
            int nodeid, string userAgent, string userIp,
            string author, string authorEmail, string authorUrl, string content)
        {
            return false;
        }

        public virtual void MarkAsHam(
            int nodeid, string author, string authorEmail, string authorUrl, string content) { }

        public virtual void  MarkAsSpam(
            int nodeid, string author, string authorEmail, string authorUrl, string content) { }

        #endregion
    }
}
